﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="SlidingMessageControl" Namespace="SlidingMessageControl" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>SliderMessage Control Demo</title>
    <style type="text/css">
        .errorContainer
        {
            background-color: #EEEEEE;
            border: 1px solid red;
        }
        .successMessage
        {
            border: 1px solid #14792C;
            background-color: #E4FF8F;
            font-family: "Tahoma";
            font-size: 11pt;
            font-weight: bold;
            background-image: url('images/icon_success_26x26.gif');
            background-position: left;
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <cc1:SlidingMessage ID="SlidingMessage1" runat="server" />
        <asp:Button ID="Button1" runat="server" Text="Success Message" OnClick="Button1_Click" />
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Show Error Message" />
        <br />
        <br />
        <asp:Button ID="Button3" runat="server" Text="Message with style" OnClick="Button3_Click" />
        <br />
    </div>
    </form>
</body>
</html>
